SlimStat\Utils\MaxMindDecoder S

Total Complexity 48
Dependencies 3
Dependents 1
Total lines 313
Lines of code 188
Logical lines of code 117
Comment lines 26
Methods 18
Properties 6

Methods 18

Method Rating Maintainability Complexity Lines of code
decodeByType()
A
47 13 36
decodeBigUint()
S
50 6 26
decode()
S
48 5 35
sizeFromCtrlByte()
S
57 5 15
decodePointer()
S
60 2 12
decodeMap()
S
65 2 9
verifySize()
S
70 2 7
decodeArray()
S
66 2 8
maybeSwitchByteOrder()
S
79 2 3
zeroPadLeft()
S
78 1 3
decodeString()
S
82 1 3
__construct()
S
71 1 6
decodeUint()
S
74 1 4
decodeInt32()
S
72 1 5
decodeFloat()
S
75 1 4
decodeDouble()
S
75 1 4
decodeBoolean()
S
79 1 3
isPlatformLittleEndian()
S
72 1 5